.class Lrexsee/natives/RexseeJavaView$13;
.super Ljava/lang/Object;
.source "RexseeJavaView.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/natives/RexseeJavaView;->fling(Ljava/lang/String;I)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/natives/RexseeJavaView;

.field private final synthetic val$velocity:I

.field private final synthetic val$viewTag:Lrexsee/natives/ViewTag;


# direct methods
.method constructor <init>(Lrexsee/natives/RexseeJavaView;Lrexsee/natives/ViewTag;I)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/natives/RexseeJavaView$13;->this$0:Lrexsee/natives/RexseeJavaView;

    iput-object p2, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iput p3, p0, Lrexsee/natives/RexseeJavaView$13;->val$velocity:I

    .line 571
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 574
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    .line 575
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/ScrollView;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$13;->val$velocity:I

    invoke-virtual {v0, v1}, Landroid/widget/ScrollView;->fling(I)V

    .line 581
    :cond_0
    :goto_0
    return-void

    .line 576
    :cond_1
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "HorizontalScrollView"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_2

    .line 577
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/HorizontalScrollView;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$13;->val$velocity:I

    invoke-virtual {v0, v1}, Landroid/widget/HorizontalScrollView;->fling(I)V

    goto :goto_0

    .line 578
    :cond_2
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "Gallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->type:Ljava/lang/String;

    const-string v1, "ThreeDGallery"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 579
    :cond_3
    iget-object v0, p0, Lrexsee/natives/RexseeJavaView$13;->val$viewTag:Lrexsee/natives/ViewTag;

    iget-object v0, v0, Lrexsee/natives/ViewTag;->view:Landroid/view/View;

    check-cast v0, Landroid/widget/Gallery;

    iget v1, p0, Lrexsee/natives/RexseeJavaView$13;->val$velocity:I

    int-to-float v1, v1

    const/4 v2, 0x0

    invoke-virtual {v0, v3, v3, v1, v2}, Landroid/widget/Gallery;->onFling(Landroid/view/MotionEvent;Landroid/view/MotionEvent;FF)Z

    goto :goto_0
.end method
